const Response = require('../app/Response')
const userService = require('../service/user.service')
class UserController {

  async register(ctx, next) {
    const user = ctx.request.body
    await userService.insert(user)

    ctx.body = Response.OK()

  }

}
module.exports = new UserController()